Could you put it on the scales, so I can check the weight?
你能把它放到秤上吗?我好称一称重量。
You'd better check the weight when you buy things in the supermarket.
你去超市买东西最好验秤一下。
Staff were pleasant and helpful and even arranged for a weighing scale to be brought to our room so that we could check the weight of our luggage.
工作人员很愉快和友好,甚至一重规模带到我们的房间里,保证我们的行李的安全。
And so you could construct all subsets, check that the weight is less than the weight of the knapsack, and then choose the subset with the maximum value.
因此你可以构建所有子问题,判断它的重量,是否小于背包的重量,然后选择值最大的子问题。
应用推荐